package com.moonshine.parser.models;

import java.util.ArrayList;
import java.util.List;

public class ClassBaseSignature extends AS3Signature {

	public String name = null;
	public String packageName = null;

	public ArrayList<MethodSignature> methods = new ArrayList<MethodSignature>();
	public ArrayList<ImportSignature> imports = new ArrayList<ImportSignature>();

	public String toString(Boolean pretty, Boolean omitIndices) {
		final StringBuilder sb = new StringBuilder();
	
		if (packageName != null && packageName.length()!=0)
			sb.append(packageName + ":");
		sb.append(name);
		return sb.toString();
	}
}
